Call-by-Name, Call-by-Value and the lambda-Calculus

نویسنده

  • Gordon D. Plotkin
چکیده

This paper examines the old question of the relationship between ISWIM and the &calculus, using the distinction between call-by-value and call-by-name. It is held that the relationship should be mediated by a standardisation theorem. :3ince this leads to difficulties, a new &calcu%~s is introduced whose standardisation theorem gives a good correspondence with ISWIM a-; given by the SECT machine, but without the Zetrec feature. Next a call-by-name variant of ISWSM is introduced which i:; in an analogous corresponde nce with the usual kalculus. The relation between call-by-value and call-by-name is then studied I)y giving simulations elf each lauguage by tba other and irlteryretations of each calculus in the other. These are obtained as ication of the continuation technique. Some emphasis is placed throughout on the notion of opeiiational equality (or contextual equality). If terms c;tn :3e proved equal in a calculus they are operationally equal in the corresponding language. UnflDrtonatel y, operational Izquality is not preserved by either of the simulations. Our intention is tee, stu calculus which wzs first H-by-value and call-by-,,,, *TM in the setting of the kmbda-used to explicate progranting Language Ceatures by Latn

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Call-by-Value Solvability, Revisited

In the call-by-value lambda-calculus solvable terms have been characterised by means of call-by-name reductions, which is disappointing and requires complex reasonings. We introduce the valuesubstitution lambda-calculus, a simple calculus borrowing ideas from Herbelin and Zimmerman’s call-by-value λCBV calculus and from Accattoli and Kesner’s substitution calculus λsub. In this new setting, we ...

متن کامل

Thunks and the λ-Calculus

Thirty-five years ago, thunks were used to simulate call-by-name under call-by-value in Algol 60. Twenty years ago, Plotkin presented continuation-based simulations of call-by-name under call-by-value and vice versa in the λ-calculus. We connect all three of these classical simulations by factorizing the continuation-based call-by-name simulation Cn with a thunk-based call-by-name simulation T ...

متن کامل

lambda-µ-Calculus and Duality: Call-by-Name and Call-by-Value

Under the extension of Curry-Howard’s correspondence to classical logic, Gentzen’s NK and LK systems can be seen as syntaxdirected systems of simple types respectively for Parigot’s λμ-calculus and Curien-Herbelin’s λ̄μμ̃-calculus. We aim at showing their computational equivalence. We define translations between these calculi. We prove simulation theorems for an undirected evaluation as well as f...

متن کامل

A type system for Continuation Calculus

Continuation Calculus (CC), introduced by Geron and Geuvers [2], is a simple foundational model for functional computation. It is closely related to lambda calculus and term rewriting, but it has no variable binding and no pattern matching. It is Turing complete and evaluation is deterministic. Notions like “call-by-value” and “call-by-name” computation are available by choosing appropriate fun...

متن کامل

Duality between Call-by-Name Recursion and Call-by-Value Iteration

We investigate the duality between call-by-name recursion and call-by-value iteration in the λμ-calculi and their models. Semantically, we consider that iteration is the dual notion of recursion. Syntactically, we extend the call-by-name λμ-calculus and the call-by-value one with a fixed-point operator and an iteration operator, respectively. This paper shows that the dual translations between ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 1  شماره 

صفحات  -

تاریخ انتشار 1975